package com.gyc.simple.common.vo;

import java.util.List;

/**
 * @program: Inaction
 * @description: 分页数据
 * @author: Mr.gyc
 * @create: 2019-08-06 09:16
 */
public class PageData {
    //页码
    public int pageNum = 1;
    //每页数量
    public int pageSize = 7;

    public int totalPage = 1;

    public int totalCount = 0;

    public List listData;

    public PageData(int pageNum, int pageSize, int totalPage, int totalCount, List listData) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.totalPage = totalPage;
        this.totalCount = totalCount;
        this.listData = listData;
    }

    public List getListData() {
        return listData;
    }

    public void setListData(List listData) {
        this.listData = listData;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
